import React from 'react';
import { Spin } from 'antd';
import styles from './style.less';

// loading components from code split
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
// export default () => (
//   <div style={{ paddingTop: 100, textAlign: 'center' }}>
//     <Spin size="large" />
//   </div>
// );

export default class extends React.PureComponent {
  render() {
    return (
      <div className={styles.loader}>
		<div className="loader-inner pacman">
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
		</div>
		<div className={styles.text}>玩命儿加载中...</div>
	</div>
    )
  }
}